let login_app = new Vue({
	el: "#navbar",
	data: {
		user: {},
		loginStatus: false
	},
	mounted: function (){
		axios.get("user/check").then(rt =>{
			if(rt.status == 200 && rt.data.code == 200){
				this.user = rt.data.data;
				console.log("check_rt.data.data="+rt.data.data);
				console.log(this.user);
				this.loginStatus = true;
				return;
			}
			this.loginStatus = false;
			location.href="login.html";
		})
	}
})